package sample.service;

import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;


public interface SiteUserDetailsService extends UserDetailsService {

    /**
     * 由于我需要更多的数据，所以不能使用基础的UserDetails，需要用的是我自定义的SiteUser
     * @param var1
     * @return {org.springframework.security.core.userdetails.UserDetails}
     * @author 管传杰
     * @date  16:34
    */
    @Override
    SiteUser loadUserByUsername(String var1) throws UsernameNotFoundException;
}
